package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ChatSensitiveWord;

/**
 * 敏感词Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-30
 */
public interface ChatSensitiveWordMapper 
{
    /**
     * 查询敏感词
     * 
     * @param wordId 敏感词主键
     * @return 敏感词
     */
    public ChatSensitiveWord selectChatSensitiveWordByWordId(Long wordId);

    /**
     * 查询敏感词列表
     * 
     * @param chatSensitiveWord 敏感词
     * @return 敏感词集合
     */
    public List<ChatSensitiveWord> selectChatSensitiveWordList(ChatSensitiveWord chatSensitiveWord);

    /**
     * 新增敏感词
     * 
     * @param chatSensitiveWord 敏感词
     * @return 结果
     */
    public int insertChatSensitiveWord(ChatSensitiveWord chatSensitiveWord);

    /**
     * 修改敏感词
     * 
     * @param chatSensitiveWord 敏感词
     * @return 结果
     */
    public int updateChatSensitiveWord(ChatSensitiveWord chatSensitiveWord);

    /**
     * 删除敏感词
     * 
     * @param wordId 敏感词主键
     * @return 结果
     */
    public int deleteChatSensitiveWordByWordId(Long wordId);

    /**
     * 批量删除敏感词
     * 
     * @param wordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteChatSensitiveWordByWordIds(Long[] wordIds);
}
